import {createI18n} from 'vue-i18n'
import en from '@/locales/en.json'
import zh from '@/locales/zh.json'

const i18n = createI18n({
  legacy: false,
  locale: 'zh',
  fallbackLocale: 'zh', // 备用语言
  messages: {
    zh,
    en,
  }
})
export default i18n;
